<template>
  <el-row/>
  <el-row/>
  <el-row/>
  <el-row/>
  <el-row>
    <el-col :span="11"/>
    <el-col :span="1">
      <el-button @click="RedirectToLogin">登录页面</el-button>
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="11"/>
    <el-col :span="1">
      <el-button @click="RedirectToRegister">注册页面</el-button>
    </el-col>
  </el-row>
  <el-row/>
  <el-row/>
  <el-row/>
  <el-row/>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router';

const router = useRouter();
function RedirectToLogin(){
  router.push('/login')
}
function RedirectToRegister(){
  router.push('/register')
}
</script>
<style scoped>
.el-row {
  margin-bottom: 20px;
  min-height: 36px;
}
</style>
